﻿using EntityModels.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModels.Configures
{
    /// <summary>
    /// 影子属性
    /// </summary>
    public class ShadowPropertyEntityConfiguration : IEntityTypeConfiguration<ShadowPropertyEntity>
    {
        public void Configure(EntityTypeBuilder<ShadowPropertyEntity> builder)
        {
            builder.Property<string>("ShadowProperty").HasDefaultValue("This is ShadowProperty");

        }
    }
}
